package core.models;

import java.util.HashMap;

public class FilterRule extends Rule {
	
	public FilterRule(String command, String chain) {
		super();
		this.table = "filter";
		this.command = command;
		this.chain = chain;
		this.options = new HashMap<String, String>();
	}
	
	public static String[] getTargets() {
		String[] targets = { "ACCEPT", "DROP", "REJECT", "LOG" };
		return targets;
	}
	
	public static String[] getPolicies() {
		String[] policies = { "ACCEPT", "DROP" };
		return policies;
	}
	
	public static String[] getChains() {
		String[] chains = { "INPUT", "OUTPUT", "FORWARD" };
		return chains;
	}
	
}
